package com.fulihui.usercore.dal.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.fulihui.usercore.dal.dataobj.UnionidOpenidDO;

/**
 *
 * @author Created by Willard.Hu on 2016/8/17 0017.
 */
public interface UnionidOpenidMapper {

    void insert(@Param("items") List<UnionidOpenidDO> items);

    boolean update(@Param("items") List<UnionidOpenidDO> items);

    UnionidOpenidDO queryByOpenid(@Param("openId") String openId);

    List<UnionidOpenidDO> query(@Param("unionids") List<String> unionids);
}
